const mongoose = require('mongoose')

const schema = new mongoose.Schema({
  name: { type: String },
  gender: { type: String },
  job: { type: String },
  start_year: { type: String },
  id_card: { type: String },
  tel: { type: String },
})

module.exports = mongoose.model('Cadre', schema)